package com.ruoyi.project.jiaqin.intentionmessage.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 意向留言对象 intention_message
 *
 * @author admin
 * @date 2021-01-05
 */
public class IntentionMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String memberid;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String content;

    /** 留言时间 */
    @Excel(name = "留言时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 用户名*/
    private String memberName;

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMemberid(String memberid)
    {
        this.memberid = memberid;
    }

    public String getMemberid()
    {
        return memberid;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberid", getMemberid())
            .append("content", getContent())
            .append("createAt", getCreateAt())
            .toString();
    }
}
